#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>

int main()
{
    char letter = 0;
    scanf("%c", &letter);
    if ('A' <= letter && letter <= 'Z')
        printf("%c\n", letter + 32);
    else
        printf("%c\n", letter);
    return 0;
}